import java.sql.*;

public class democreate 
{

	
	public static void main(String[] args)
	{
		try
		{
			Class.forName("oracle.jdbc.driver.oracleDriver");
			Connection con=DriverManager.getConnection("jdbc:oracle:thin:127.0.0.1:1521:XE","bank","bank");
			Statement stmt=con.createStatement();
			String q="create table emp(eid number,ename varchar(40),edoj date)";
			stmt.execute(q);
			System.out.println("table created");
		}
		catch(Exception e)
		{
			System.out.println("some error");
		}
	}

}
